home *** CD-ROM | disk | FTP | other *** search
- | Create the StrongHelp version of 'genctxt'
-
- Set CHelp$Dir <Obey$Dir>
- Set CHelpDest$Dir ram:$
- Set CHelpText$Dir <Obey$Dir>.genctxt
- Set CHelpSources$Path <Obey$Dir>.gencsrc.
-
- RMEnsure StrongHelp 0 If "<StrongHelp$Dir>" = "" Then Error 1 Please run or boot StrongHelp first Else /<StrongHelp$Dir>.!Run
-
- RMEnsure StrongHelp 0 Error 1 Could not load StrongHelp
- RMEnsure StrongHelp 2.02 Error 1 Your copy of StrongHelp is too old
-
- RMEnsure ForEach 0 RMLoad <CHelp$Dir>.ForEach
- RMEnsure ForEach 0 Error 1 Could not load Module ForEach
-
- | Remove files previously created, ignoring errors
- | Must not glob ourself it because the globbing gets confused by deleted files
- foreach "Wipe %%0 ~C~VF" -ignore -gsoff -globoff <CHelpDest$Dir>.Chapter*
- foreach "Wipe %%0 ~C~VF" -ignore -gsoff <CHelpDest$Dir>.CLang
-
- WimpSlot -min 64k -max 64k
- | Check free space on destination (some 280k)
- Create <CHelpDest$Dir>.Chapter0 10_300000
- WimpSlot -min 64k -max 64k
- Run <CHelp$Dir>.DOSToHelp <ChelpText$Dir> <ChelpDest$Dir>
-
- If <Sys$ReturnCode> <> 0 Then Error 1 Quitting due to error in DOSHelp
-
- StrongCreate <CHelpDest$Dir>.CLang
-
- | We must glob the copy because StrongHelp cannot handle wildcarded names
-
- Unset File$List
- foreach "Set File$List |<File$List>" <CHelpDest$Dir>.Chapter*
- Set Alias$TmpCommand foreach "Copy |<CHelpDest$Dir>.%%%%0 |<CHelpDest$Dir>.CLang.%%%%0 D" <File$List>
- Unset File$List
- TmpCommand
- Unset Alias$TmpCommand
-
- foreach "Copy <CHelp$Dir>.%%0 <CHelpDest$Dir>.CLang.%%0" !Root BackGround Style
-